import React, { useState } from 'react'
import { Lottery } from '@/components/Lottery';

import './index.scss'

import { View, Image } from "@tarojs/components"

export default (props: any)=>{
    const [viewVis, setViewVis] = useState(false);
    return (
        <View className='xxm-lottery-ls'>
            <Image className='xxm-lottery-ls-image' mode='aspectFill' onClick={() => setViewVis(true)} src='http://xmmi.oss-cn-beijing.aliyuncs.com/public/6a64f59a-1259-485a-83a1-b5f3ce14e461.png' />
            {/* {viewVis && <Lottery
              title=''
              vis={viewVis}
              lucky={props.lucky}
              onClose={
                    () => {
                        setViewVis(false)
                    }}
            />
            } */}
        </View>
    )
}
